package com.dailyblue.java.boot.mybatisplus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.java.boot.mybatisplus.bean.User;
import com.dailyblue.java.spring.boot.commons.exception.UserCodeNotFoundException;
import com.dailyblue.java.spring.boot.commons.exception.UserPasswordErrorException;
import com.dailyblue.java.spring.boot.commons.util.JsonResult;

import java.util.List;

public interface UserService extends IService<User> {
    JsonResult findAllJob();

    JsonResult findAll();

    JsonResult findUserById(int id);

    JsonResult deleteById(int id);

    List<User> find1();

    JsonResult login(User user) throws UserCodeNotFoundException, UserPasswordErrorException;
}
